import http from '../utils/request'
const CustomerAPI = {

    /**客情列表 */
    customerList: (data) => {
        return http.request({
            url: '/api/restaurant/customer/page',
            method: 'GET',
            data
        })
    },
    /**客情详情 */
    customerDetail: (data) => {
        return http.request({
            url: '/api/restaurant/customer/detail',
            method: 'GET',
            data
        })
    },
    /** 提交客情 */
    customerSubmit: (data) => {
        return http.request({
            url: '/api/restaurant/customer/submit',
            method: 'POST',
            data
        })
    },

}
export default CustomerAPI